<?xml version="1.0" encoding="UTF-8"?>
<Page>
  
  <Header>
    <Grid Name="HeaderGrid">
      <Button Name="BackBtn" Value="返回" Alignment="L,C" Margin="5,0,0,0" ControlColor="White"></Button>
      <TextBlock Name="HeaderTitle" Value="孙燕飞" Alignment="C,C"></TextBlock>
    </Grid>
  </Header>
  
  <Body>
    
    <TabControl Name="MainTab" Alignment="B">
      
      <TabItem Header="消息">
        <Grid>
          <ListBox Name="MessageList" Value="/DesignData/users.xml" ItemsSource="[Property Users]">
            <DataTemplate>
              <StackPanel Orientation="H">
                <Image Value="[Property ImageUrl]" Margin="10,0,0,0" Width="30.0" Height="30.0"></Image>
                <TextBlock Value="[Property UName]" Margin="80,0,0,0"></TextBlock>
                <TextBlock Value="[Property Age]" Margin="80,0,0,0"></TextBlock>
              </StackPanel>
            </DataTemplate>
          </ListBox>
        </Grid>
      </TabItem>
      
      <TabItem Header="通讯录">
        <Grid>
          <ListBox Name="AdressList" Value="/DesignData/users.xml" ItemsSource="[Property Users]">
            <DataTemplate>
              <StackPanel Orientation="H">
                <Image Value="[Property ImageUrl]" Margin="10,0,0,0" Width="30.0" Height="30.0"></Image>
                <TextBlock Value="[Property UName]" Margin="80,0,0,0"></TextBlock>
                <TextBlock Value="[Property Age]" Margin="80,0,0,0"></TextBlock>
              </StackPanel>
            </DataTemplate>
          </ListBox>
        </Grid>
      </TabItem>
      
      <TabItem Header="朋友">
        <Grid>
          <ListBox Name="FriendsList" Value="/DesignData/users.xml" ItemsSource="[Property Users]">
            <DataTemplate>
              <StackPanel Orientation="H">
                <Image Value="[Property ImageUrl]" Margin="10,0,0,0" Width="30.0" Height="30.0"></Image>
                <TextBlock Value="[Property UName]" Margin="80,0,0,0"></TextBlock>
                <TextBlock Value="[Property Age]" Margin="80,0,0,0"></TextBlock>
              </StackPanel>
            </DataTemplate>
          </ListBox>
        </Grid>
      </TabItem>
      
      <TabItem Header="设置">
        <Grid>
          <ListBox Name="SettingsList" Value="/DesignData/users.xml" ItemsSource="[Property Users]">
            <DataTemplate>
              <StackPanel Orientation="H">
                <Image Value="[Property ImageUrl]" Margin="10,0,0,0" Width="30.0" Height="30.0"></Image>
                <TextBlock Value="[Property UName]" Margin="80,0,0,0"></TextBlock>
                <TextBlock Value="[Property Age]" Margin="80,0,0,0"></TextBlock>
              </StackPanel>
            </DataTemplate>
          </ListBox>
        </Grid>
      </TabItem>
      
    </TabControl>

  </Body>

</Page>